package com.nkym.wypan.service;

import com.nkym.wypan.model.entity.chat.Message;
import org.springframework.web.socket.WebSocketSession;

public interface WebSocketService {

    public void addSession(WebSocketSession session);
    public void removeSession(WebSocketSession session);


    void userJoinRoom(WebSocketSession session, Message msg);


    void sendChatMsg(WebSocketSession session, Message msg);
}
